<template>
  <el-dialog
    top="30px"
    width="1000px"
    title="即将到期"
    :visible.sync="visible"
    :before-close="beforeClose"
    :close-on-click-modal="false"
    append-to-body
  >
    <el-tabs>
      <el-tab-pane label="限率业务">
        <loan-limit></loan-limit>
      </el-tab-pane>
      <el-tab-pane label="二八业务">
        <loan-normal></loan-normal>
      </el-tab-pane>
    </el-tabs>
  </el-dialog>
</template>

<script>
import LoanLimit from '@/bank/views/business/index/warning/LoanLimit'
import LoanNormal from '@/bank/views/business/index/warning/LoanNormal'
export default {
  components: {
    LoanLimit,
    LoanNormal,
  },
  props: {
    visible: Boolean,
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped></style>
